/**
 * 
 */
package user.web.utils;

import java.util.Random;

import org.springframework.stereotype.Component;

/**
 * 工具类
 * @author Eric
 */
public class RandomUtils {

	/** 生成6位随机验证码 */
	public static String generateVerifyCode() {
		String code = "";
		int randNum = new Random().nextInt(999999);
		code += randNum;
		return code;
	}
	
}
